package com.ruoyi.city.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学校信息对象 school
 * 
 * @author ruoyi
 * @date 2025-09-10
 */
@Data
public class School extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校ID */
    private Long schoolId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 所属省份ID */

    private Long provinceId;
    @Excel(name = "所属省份")
    private String provinceName;

    /** 所属城市ID */

    private Long cityId;
    @Excel(name = "所属城市")
    private String cityName;

    /** 所属区县ID */

    private Long districtId;
    @Excel(name = "所属区县")
    private String districtName;

    /** 学校详细地址 */
    @Excel(name = "学校详细地址")
    private String schoolAddress;

    /** 学校性质 */
    @Excel(name = "学校性质")
    private String schoolNature;

    /** 学校地理位置坐标，格式：纬度,经度 */
    @Excel(name = "学校地理位置坐标，格式：纬度,经度")
    private String coordinate;

    /** 学校类型 */
    @Excel(name = "学校类型")
    private String type;

    /** 学校缩略图 */
    @Excel(name = "学校缩略图")
    private String thumbnail;

    /** 学校详细介绍 */
    @Excel(name = "学校详细介绍")
    private String introduction;

    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }

    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }

    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }

    public void setSchoolAddress(String schoolAddress) 
    {
        this.schoolAddress = schoolAddress;
    }

    public String getSchoolAddress() 
    {
        return schoolAddress;
    }

    public void setSchoolNature(String schoolNature) 
    {
        this.schoolNature = schoolNature;
    }

    public String getSchoolNature() 
    {
        return schoolNature;
    }

    public void setCoordinate(String coordinate) 
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate() 
    {
        return coordinate;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }

    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schoolId", getSchoolId())
            .append("schoolName", getSchoolName())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("districtId", getDistrictId())
            .append("schoolAddress", getSchoolAddress())
            .append("schoolNature", getSchoolNature())
            .append("coordinate", getCoordinate())
            .append("type", getType())
            .append("thumbnail", getThumbnail())
            .append("introduction", getIntroduction())
            .toString();
    }
}
